home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
printing
/
hputils.arc
/
STW_HPDJ
/
READ_ME.DJP
< prev
next >
Wrap
Text File
|
1990-04-01
|
4KB
|
133 lines
PRINTER DRIVER FOR HP DESKJET
When I bought my Deskjet printer in August 1988, I did
not get the Epson emulator cartridge (EEC) with the printer.
I thought that it would be a simple matter to configure
printer drivers for programs that allow you to construct them
such as ST Writer. After working for three or four weeks off
and on, I gave up and ordered the EEC. And everything works
great with the cartridge; but it still bothered me that I had
not been able to solve the problem with the STW driver.
I demonstrated the printer at the South East Valley
Atari Connection (SEVAC) Users Group October meeting and
remarked to the president, Tim Barr, that I couldn't get a
STW driver to work without the EEC. In a few minutes with the
DJ manual during the meeting, he constructed the driver and
had it up and running. I learned that the printer codes for
characters per inch (cpi) and character height had to be
entered as ascii codes (see page 8-16) not as their actual
values. For instance, the escape sequence/control code to set
character pitch is shown as 027 040 115 #...# 072 (bottom of
page 8-19); for 10 cpi, the code would be: 027 040 115 049
048 072. The ascii codes 049 and 048 represent the numbers
"1" and "0". I know this may be elementary for some, but not
being an experienced programmer, I learned something. Thanks
Tim!
USING THE PROGRAMS
There are four programs included in this file:
XYZZX.DJP
CONFIG.DJP
TEST.DJP
READ_ME.DJP
XYZZX.DJP can be renamed XYZZX.DAT to give a printer
driver for ST Writer which will allow access to features
supported by the Deskjet. There are several things which you
should be aware of when using this driver:
1. Elite spacing (12 cpi) and italics are not supported by
the Deskjet with the internal fonts.
2. Elite has been used in this driver for half height
characters at 10 characters per inch.
3. Condensed is set at 16.67 cpi.
4. Italics is used for condensed at 20 cpi.
If you want to change codes for different font
cartridges, load CONFIG.DJP into ST Writer, make the changes,
and save as CONFIG.TXT. Run CONFIG.TOS with both in the same
directory to generate a new XYZZX.DAT file. Also note that I
combined the control codes for superscript (and subscript)
with half height character codes as described on page 4-18 in
the printer manual to give the correct combination when using
sub or superscript.
The file, TEST.DJP, loaded into ST Writer and printed
will test the various features of the Deskjet printer. The
test printing can be done properly after XYZZX.DJP is renamed
XYZZY.DAT, ST Writer is loaded, followed by TEST.DJP.
The READ_ME.DJP file is documentation and a thank you!
Mike Early
October 25, 1988